<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交圈推荐 - 社交精选</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f8f9fa;
            color: #212529;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* 页面头部 */
        .page-header {
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid #e9ecef;
        }
        
        .page-title {
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .page-description {
            color: #6c757d;
            font-size: 1.1rem;
        }
        
        /* 分类标题 */
        .section-title {
            font-weight: 600;
            margin: 2rem 0 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid #0d6efd;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .section-title i {
            color: #0d6efd;
        }
        
        /* 视图切换 */
        .view-options {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 1.5rem;
            gap: 0.5rem;
        }
        
        .view-btn {
            background-color: white;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            cursor: pointer;
            color: #6c757d;
            transition: all 0.2s;
        }
        
        .view-btn.active {
            background-color: #0d6efd;
            color: white;
            border-color: #0d6efd;
        }
        
        /* 商品卡片样式 */
        .product-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 1.5rem;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.12);
        }
        
        /* 商品图片容器 */
        .product-images {
            position: relative;
            width: 100%;
            overflow: hidden;
        }
        
        /* 单张图片 */
        .single-image {
            width: 100%;
            height: 220px;
            overflow: hidden;
        }
        
        .single-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .product-card:hover .single-image img {
            transform: scale(1.05);
        }
        
        /* 多张图片布局 */
        .multiple-images {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-gap: 3px;
            height: 220px;
        }
        
        .multiple-images img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .product-card:hover .multiple-images img {
            transform: scale(1.05);
        }
        
        .two-images img:first-child {
            grid-row: span 2;
        }
        
        .three-images {
            grid-template-columns: repeat(3, 1fr);
        }
        
        .three-images img:first-child {
            grid-column: span 2;
            grid-row: span 2;
        }
        
        .four-images {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
        }
        
        /* 图片数量提示 */
        .image-count {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
        }
        
        /* 商品标签 */
        .product-badges {
            position: absolute;
            top: 10px;
            left: 10px;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .badge {
            font-weight: 500;
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
        }
        
        /* 商品内容 */
        .product-content {
            padding: 1rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .product-category {
            font-size: 0.8rem;
            color: #6c757d;
            margin-bottom: 0.25rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .product-title {
            font-weight: 600;
            font-size: 1.1rem;
            color: #212529;
            margin-bottom: 0.5rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .product-rating {
            color: #ffc107;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .product-rating .review-count {
            color: #6c757d;
            font-size: 0.8rem;
            margin-left: 0.5rem;
        }
        
        .product-description {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            line-height: 1.5;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 价格区域 */
        .product-pricing {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .product-price {
            font-weight: 700;
            font-size: 1.25rem;
            color: #dc3545;
        }
        
        .product-original-price {
            font-size: 0.9rem;
            color: #6c757d;
            text-decoration: line-through;
        }
        
        .product-discount {
            font-size: 0.85rem;
            color: white;
            background-color: #dc3545;
            padding: 0.15rem 0.5rem;
            border-radius: 4px;
        }
        
        /* 商品元数据 */
        .product-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #6c757d;
            padding-top: 0.75rem;
            border-top: 1px solid #f8f9fa;
        }
        
        .product-seller {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .seller-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .product-stats {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        /* 行动按钮 */
        .product-actions {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        
        .action-btn {
            flex: 1;
            padding: 0.5rem;
            border-radius: 4px;
            border: none;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.25rem;
        }
        
        .btn-primary {
            background-color: #0d6efd;
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #0b5ed7;
        }
        
        .btn-outline {
            background-color: transparent;
            border: 1px solid #0d6efd;
            color: #0d6efd;
        }
        
        .btn-outline:hover {
            background-color: #0d6efd;
            color: white;
        }
        
        /* 特色商品样式 */
        .featured-product {
            flex-direction: row;
        }
        
        .featured-product .product-images {
            width: 40%;
        }
        
        .featured-product .single-image {
            height: 100%;
        }
        
        .featured-product .product-content {
            width: 60%;
            padding: 1.5rem;
        }
        
        .featured-product .product-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .featured-product .product-description {
            font-size: 1rem;
            -webkit-line-clamp: 3;
            margin-bottom: 1.5rem;
        }
        
        .featured-product .product-actions {
            margin-top: 1.5rem;
        }
        
        .featured-product .action-btn {
            padding: 0.75rem;
            font-size: 1rem;
        }
        
        /* 列表视图样式 */
        .list-view .product-card {
            flex-direction: row;
            height: auto;
        }
        
        .list-view .product-images {
            width: 30%;
        }
        
        .list-view .single-image,
        .list-view .multiple-images {
            height: 100%;
            min-height: 180px;
        }
        
        .list-view .product-content {
            width: 70%;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .featured-product {
                flex-direction: column;
            }
            
            .featured-product .product-images,
            .featured-product .product-content {
                width: 100%;
            }
            
            .featured-product .single-image {
                height: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .list-view .product-card {
                flex-direction: column;
            }
            
            .list-view .product-images,
            .list-view .product-content {
                width: 100%;
            }
            
            .product-description {
                display: none;
            }
            
            .product-actions {
                flex-wrap: wrap;
            }
            
            .action-btn {
                flex: 1 0 45%;
            }
        }
        
        @media (max-width: 576px) {
            .page-title {
                font-size: 1.5rem;
            }
            
            .section-title {
                font-size: 1.25rem;
            }
            
            .multiple-images,
            .single-image {
                height: 180px;
            }
            
            .featured-product .single-image {
                height: 200px;
            }
            
            .product-actions {
                flex-direction: column;
            }
            
            .action-btn {
                flex: none;
                width: 100%;
            }
        }
    </style>
</head>
<body>
    <div class="container py-5">
        <!-- 页面头部 -->
        <div class="page-header">
            <h1 class="page-title">精选商品推荐</h1>
            <p class="page-description">发现社区热门商品，查看真实用户评价和推荐</p>
        </div>
        
        <!-- 今日推荐 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-star"></i> 今日精选
            </h2>
            
            <div class="product-card featured-product">
                <div class="product-images">
                    <div class="single-image">
                        <img src="https://picsum.photos/800/1000?random=1" alt="无线降噪耳机产品图">
                    </div>
                </div>
                
                <div class="product-content">
                    <div class="product-badges">
                        <span class="badge bg-primary">精选</span>
                        <span class="badge bg-success">热销</span>
                    </div>
                    
                    <div class="product-category">电子数码</div>
                    <h3 class="product-title">高级无线降噪耳机 - 主动降噪 长效续航 高清通话</h3>
                    
                    <div class="product-rating">
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star"></i>
                        <i class="fas fa-star-half-alt"></i>
                        <span class="review-count">4.8 (1,256 评价)</span>
                    </div>
                    
                    <p class="product-description">
                        这款高级无线降噪耳机采用最新降噪技术，可有效隔绝环境噪音，让您专注于音乐或通话。配备40mm大口径动圈单元，带来震撼音质。单次充电可续航30小时，支持快速充电，充电10分钟可使用4小时。IPX4防水等级，适合各种场合使用。内置高清麦克风，通话清晰无杂音。
                    </p>
                    
                    <div class="product-pricing">
                        <span class="product-price">¥899</span>
                        <span class="product-original-price">¥1,299</span>
                        <span class="product-discount">省 ¥400</span>
                    </div>
                    
                    <div class="product-stats">
                        <div class="stat-item">
                            <i class="fas fa-shopping-cart"></i>
                            <span>2,568 人已购</span>
                        </div>
                        <div class="stat-item">
                            <i class="fas fa-share-alt"></i>
                            <span>1.2k 分享</span>
                        </div>
                    </div>
                    
                    <div class="product-actions">
                        <button class="action-btn btn-primary">
                            <i class="fas fa-shopping-cart"></i> 加入购物车
                        </button>
                        <button class="action-btn btn-primary">
                            <i class="fas fa-bolt"></i> 立即购买
                        </button>
                        <button class="action-btn btn-outline">
                            <i class="fas fa-heart"></i> 收藏
                        </button>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 数码产品 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-camera"></i> 数码产品
            </h2>
            
            <div class="view-options">
                <button class="view-btn active" data-view="grid">
                    <i class="fas fa-th"></i> 网格
                </button>
                <button class="view-btn" data-view="list">
                    <i class="fas fa-list"></i> 列表
                </button>
            </div>
            
            <div class="row" id="digital-products">
                <!-- 智能手机（双图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="multiple-images two-images">
                                <img src="https://picsum.photos/600/800?random=10" alt="智能手机正面图">
                                <img src="https://picsum.photos/600/400?random=11" alt="智能手机背面图">
                            </div>
                            <div class="image-count">2 张图片</div>
                            <div class="product-badges">
                                <span class="badge bg-danger">新品</span>
                            </div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">手机通讯</div>
                            <h3 class="product-title">超薄全面屏智能手机 128GB 超清四摄</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                                <span class="review-count">4.0 (328 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                6.7英寸超清全面屏，搭载最新处理器，性能强劲。128GB大存储，四摄像头系统，支持4K视频拍摄。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥3,299</span>
                                <span class="product-original-price">¥3,699</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=201" alt="商家头像" class="seller-avatar">
                                    <span>官方旗舰店</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>532</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>1.5k</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 智能手表（三图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="multiple-images three-images">
                                <img src="https://picsum.photos/600/600?random=12" alt="智能手表整体图">
                                <img src="https://picsum.photos/300/300?random=13" alt="智能手表表盘图">
                                <img src="https://picsum.photos/300/300?random=14" alt="智能手表功能图">
                            </div>
                            <div class="image-count">3 张图片</div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">智能穿戴</div>
                            <h3 class="product-title">多功能智能手表 心率监测 运动计步 防水</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
                                <span class="review-count">4.7 (856 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                全触摸彩屏智能手表，支持多种运动模式，24小时心率监测，睡眠分析，50米防水，续航可达7天。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥599</span>
                                <span class="product-original-price">¥799</span>
                                <span class="product-discount">37% 优惠</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=202" alt="商家头像" class="seller-avatar">
                                    <span>智能设备专营店</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>1,256</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>3.2k</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 便携式蓝牙音箱（单图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="single-image">
                                <img src="https://picsum.photos/600/400?random=15" alt="蓝牙音箱产品图">
                            </div>
                            <div class="product-badges">
                                <span class="badge bg-warning text-dark">促销</span>
                            </div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">音频设备</div>
                            <h3 class="product-title">便携式蓝牙音箱 重低音炮 防水设计 双声道</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                                <span class="review-count">4.2 (412 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                便携式蓝牙音箱，强劲低音，360°环绕立体声，IPX7级防水，续航可达12小时，支持两台串联立体声。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥299</span>
                                <span class="product-original-price">¥499</span>
                                <span class="product-discount">40% 优惠</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=203" alt="商家头像" class="seller-avatar">
                                    <span>音频设备官方店</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>876</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>2.1k</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 服装鞋帽 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-tshirt"></i> 服装鞋帽
            </h2>
            
            <div class="row" id="clothing-products">
                <!-- 休闲运动鞋（四图） -->
                <div class="col-lg-3 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="multiple-images four-images">
                                <img src="https://picsum.photos/600/600?random=20" alt="运动鞋正面图">
                                <img src="https://picsum.photos/600/600?random=21" alt="运动鞋侧面图">
                                <img src="https://picsum.photos/600/600?random=22" alt="运动鞋背面图">
                                <img src="https://picsum.photos/600/600?random=23" alt="运动鞋细节图">
                            </div>
                            <div class="image-count">4 张图片</div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">运动鞋靴</div>
                            <h3 class="product-title">男士休闲运动鞋 轻便透气 缓震跑步鞋</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <span class="review-count">5.0 (124 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                男士休闲运动鞋，飞织鞋面，轻便透气，高弹性中底，提供良好缓震效果，适合日常穿着和轻度运动。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥359</span>
                                <span class="product-original-price">¥499</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=204" alt="商家头像" class="seller-avatar">
                                    <span>运动品牌旗舰店</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>328</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 纯棉T恤（单图） -->
                <div class="col-lg-3 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="single-image">
                                <img src="https://picsum.photos/600/400?random=24" alt="纯棉T恤产品图">
                            </div>
                            <div class="product-badges">
                                <span class="badge bg-info">热卖</span>
                            </div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">男装上衣</div>
                            <h3 class="product-title">纯棉宽松T恤 男女同款 多色可选 夏季新款</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
                                <i class="far fa-star"></i>
                                <span class="review-count">3.8 (956 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                100%纯棉面料，柔软透气，宽松版型，男女同款，多种颜色可选，适合夏季穿着。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥79</span>
                                <span class="product-original-price">¥129</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=205" alt="商家头像" class="seller-avatar">
                                    <span>休闲服饰店</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>2,156</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 女士连衣裙（双图） -->
                <div class="col-lg-3 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="multiple-images two-images">
                                <img src="https://picsum.photos/600/800?random=25" alt="连衣裙正面图">
                                <img src="https://picsum.photos/600/400?random=26" alt="连衣裙细节图">
                            </div>
                            <div class="image-count">2 张图片</div>
                            <div class="product-badges">
                                <span class="badge bg-success">新品</span>
                            </div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">女装裙装</div>
                            <h3 class="product-title">夏季女士连衣裙 碎花雪纺 收腰显瘦 中长款</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                                <span class="review-count">4.1 (238 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                夏季女士碎花连衣裙，雪纺面料，轻盈透气，收腰设计，显瘦百搭，适合多种场合穿着。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥159</span>
                                <span class="product-original-price">¥259</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=206" alt="商家头像" class="seller-avatar">
                                    <span>女装旗舰店</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>456</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 太阳镜（三图） -->
                <div class="col-lg-3 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="multiple-images three-images">
                                <img src="https://picsum.photos/600/600?random=27" alt="太阳镜整体图">
                                <img src="https://picsum.photos/300/300?random=28" alt="太阳镜细节图">
                                <img src="https://picsum.photos/300/300?random=29" alt="太阳镜佩戴图">
                            </div>
                            <div class="image-count">3 张图片</div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">配饰</div>
                            <h3 class="product-title">时尚太阳镜 防紫外线 男女通用 多款式</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
                                <span class="review-count">4.6 (521 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                时尚太阳镜，100%防紫外线，高清偏光镜片，轻盈镜框，多种款式可选，男女通用。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥129</span>
                                <span class="product-original-price">¥199</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=207" alt="商家头像" class="seller-avatar">
                                    <span>眼镜专营店</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>678</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 家居用品 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-home"></i> 家居用品
            </h2>
            
            <div class="row" id="home-products">
                <!-- 北欧风台灯（单图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="single-image">
                                <img src="https://picsum.photos/600/400?random=30" alt="北欧风台灯产品图">
                            </div>
                            <div class="product-badges">
                                <span class="badge bg-primary">精选</span>
                            </div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">灯具照明</div>
                            <h3 class="product-title">北欧风卧室台灯 简约现代 调光调色 创意设计</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                                <span class="review-count">4.2 (317 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                北欧风格卧室台灯，简约现代设计，支持调光调色，USB充电接口，触摸控制，适合卧室、书房使用。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥199</span>
                                <span class="product-original-price">¥299</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=208" alt="商家头像" class="seller-avatar">
                                    <span>家居生活馆</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>429</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>987</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 记忆棉枕头（双图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="multiple-images two-images">
                                <img src="https://picsum.photos/600/800?random=31" alt="记忆棉枕头整体图">
                                <img src="https://picsum.photos/600/400?random=32" alt="记忆棉枕头细节图">
                            </div>
                            <div class="image-count">2 张图片</div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">床上用品</div>
                            <h3 class="product-title">记忆棉枕头 颈椎保健 慢回弹 透气舒适</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <span class="review-count">4.9 (1,245 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                人体工学记忆棉枕头，慢回弹材质，有效支撑颈椎，促进睡眠，透气防螨，可拆洗枕套。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥159</span>
                                <span class="product-original-price">¥259</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=209" alt="商家头像" class="seller-avatar">
                                    <span>睡眠健康店</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>3,256</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>5.8k</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 香薰蜡烛套装（三图） -->
                <div class="col-lg-4 col-md-6">
                    <div class="product-card">
                        <div class="product-images">
                            <div class="multiple-images three-images">
                                <img src="https://picsum.photos/600/600?random=33" alt="香薰蜡烛套装整体图">
                                <img src="https://picsum.photos/300/300?random=34" alt="香薰蜡烛细节图">
                                <img src="https://picsum.photos/300/300?random=35" alt="香薰蜡烛使用场景图">
                            </div>
                            <div class="image-count">3 张图片</div>
                            <div class="product-badges">
                                <span class="badge bg-warning text-dark">限量</span>
                            </div>
                        </div>
                        
                        <div class="product-content">
                            <div class="product-category">香薰精油</div>
                            <h3 class="product-title">天然香薰蜡烛套装 大豆蜡 安神助眠 家居装饰</h3>
                            
                            <div class="product-rating">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
                                <span class="review-count">4.7 (632 评价)</span>
                            </div>
                            
                            <p class="product-description">
                                天然大豆蜡香薰蜡烛套装，多种香型组合，燃烧时间长，无烟环保，有助于放松心情，改善睡眠。
                            </p>
                            
                            <div class="product-pricing">
                                <span class="product-price">¥129</span>
                                <span class="product-original-price">¥199</span>
                            </div>
                            
                            <div class="product-meta">
                                <div class="product-seller">
                                    <img src="https://picsum.photos/100/100?random=210" alt="商家头像" class="seller-avatar">
                                    <span>香薰生活坊</span>
                                </div>
                                
                                <div class="product-stats">
                                    <div class="stat-item">
                                        <i class="fas fa-shopping-cart"></i>
                                        <span>876</span>
                                    </div>
                                    <div class="stat-item">
                                        <i class="fas fa-heart"></i>
                                        <span>2.4k</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="product-actions">
                                <button class="action-btn btn-primary">
                                    <i class="fas fa-shopping-cart"></i> 加入购物车
                                </button>
                                <button class="action-btn btn-outline">
                                    <i class="fas fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 视图切换功能
            const viewButtons = document.querySelectorAll('.view-btn');
            const digitalProducts = document.getElementById('digital-products');
            
            viewButtons.forEach(button => {
                button.addEventListener('click', function() {
                    // 更新按钮状态
                    viewButtons.forEach(btn => btn.classList.remove('active'));
                    this.classList.add('active');
                    
                    const viewType = this.getAttribute('data-view');
                    
                    if (viewType === 'list') {
                        digitalProducts.classList.add('list-view');
                    } else {
                        digitalProducts.classList.remove('list-view');
                    }
                });
            });
            
            // 为所有图片添加点击放大功能
            const images = document.querySelectorAll('.product-images img');
            images.forEach(img => {
                img.addEventListener('click', function() {
                    // 创建全屏查看的模态框
                    const modal = document.createElement('div');
                    modal.style.position = 'fixed';
                    modal.style.top = '0';
                    modal.style.left = '0';
                    modal.style.width = '100%';
                    modal.style.height = '100%';
                    modal.style.backgroundColor = 'rgba(0, 0, 0, 0.9)';
                    modal.style.display = 'flex';
                    modal.style.alignItems = 'center';
                    modal.style.justifyContent = 'center';
                    modal.style.zIndex = '1050';
                    modal.style.cursor = 'zoom-out';
                    modal.style.transition = 'opacity 0.3s ease';
                    
                    const imgClone = this.cloneNode(true);
                    imgClone.style.maxWidth = '90%';
                    imgClone.style.maxHeight = '90%';
                    imgClone.style.objectFit = 'contain';
                    imgClone.style.boxShadow = '0 4px 20px rgba(0,0,0,0.3)';
                    imgClone.style.transition = 'transform 0.3s ease';
                    
                    modal.appendChild(imgClone);
                    document.body.appendChild(modal);
                    document.body.style.overflow = 'hidden'; // 防止背景滚动
                    
                    // 点击模态框关闭
                    modal.addEventListener('click', function() {
                        modal.style.opacity = '0';
                        setTimeout(() => {
                            document.body.removeChild(modal);
                            document.body.style.overflow = ''; // 恢复滚动
                        }, 300);
                    });
                });
            });
            
            // 为卡片添加淡入动画
            const cards = document.querySelectorAll('.product-card');
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.style.opacity = '1';
                        entry.target.style.transform = 'translateY(0)';
                        observer.unobserve(entry.target);
                    }
                });
            }, { threshold: 0.1 });
            
            cards.forEach(card => {
                card.style.opacity = '0';
                card.style.transform = 'translateY(20px)';
                card.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
                observer.observe(card);
            });
            
            // 购物车按钮点击效果
            const cartButtons = document.querySelectorAll('.btn-primary');
            cartButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const originalText = this.innerHTML;
                    this.innerHTML = '<i class="fas fa-check"></i> 已添加';
                    this.style.backgroundColor = '#28a745';
                    
                    setTimeout(() => {
                        this.innerHTML = originalText;
                        this.style.backgroundColor = '';
                    }, 1500);
                });
            });
            
            // 收藏按钮点击效果
            const favoriteButtons = document.querySelectorAll('.btn-outline');
            favoriteButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const icon = this.querySelector('i');
                    if (icon.classList.contains('far')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.style.backgroundColor = '#0d6efd';
                        this.style.color = 'white';
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.style.backgroundColor = '';
                        this.style.color = '';
                    }
                });
            });
        });
    </script>
</body>
</html>

